﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Reflection;
using Lextm.SharpSnmpLib;

namespace Snmp.Agent.MplsLsrMib
{
    class InSegmentTable // ZROB FORMAT dla reszty tabelek ;ppp
    {
        //        INDEX { mplsInSegmentIndex }
        //        
        //        MplsInSegmentEntry ::= SEQUENCE {
        //        mplsInSegmentIndex                MplsIndexType, OCTET STRING (SIZE(1..24))
        //        mplsInSegmentInterface            InterfaceIndexOrZero, Integer32 (0..2147483647)
        //        mplsInSegmentLabel                MplsLabel, Unsigned32 (0..4294967295)
        //        mplsInSegmentLabelPtr             RowPointer, OBJECT IDENTIFIER
        //        mplsInSegmentNPop                 Integer32,
        //        mplsInSegmentAddrFamily           AddressFamilyNumbers, INTEGER 
        //        mplsInSegmentXCIndex              MplsIndexType, 
        //        mplsInSegmentOwner                MplsOwner , INTEGER
        //        mplsInSegmentTrafficParamPtr      RowPointer,
        //        mplsInSegmentRowStatus            RowStatus, INTEGER 
        //        mplsInSegmentStorageType          StorageType, INTEGER 
        //        }
        //        
        private static readonly List<SnmpType> Format = new List<SnmpType>() 
            { 
                SnmpType.OctetString, 
                SnmpType.Integer32, 
                SnmpType.UInt32,
                SnmpType.ObjectIdentifier,
                SnmpType.Integer32,
                SnmpType.Integer32,
                SnmpType.OctetString, 
                SnmpType.Integer32,
                SnmpType.ObjectIdentifier,
                SnmpType.Integer32,
                SnmpType.Integer32
            };

        private static int IndexId = 0;

        private SortedList table;
        
    }
}
